function normalizedData = NormalizeData(data)
    % Remove column with IDs
    %noIdData = data(:,2:end);
    
    
    % Normalize to [-1,1]
    minCol = min (data,[],1);
    maxCol = max (data,[],1);
    minMatrix = repmat(minCol,[size(data,1),1]);
    differenceRow = maxCol-minCol;
    % If all values in a row are the same, change the denominator so we
    % won't divide by 0
    differenceRow(differenceRow==0)=1;
    rangeMat = repmat(differenceRow,[size(data,1),1]);
    normalizedData = -1 + 2*(data-minMatrix)./rangeMat; 
    
    % Add column with IDs
    %normalizedData = horzcat(data(:,1),normalizedData);
end